﻿<%@ Page Language="VB" AutoEventWireup="false" CodeFile="ewm.aspx.vb" Inherits="Widget_widget200" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:Repeater ID="rptNews" runat="server">
            <ItemTemplate>
                <li style="display: inline;">
                        <a target="_blank" href='<%# FormatURL(DataBinder.Eval(Container.DataItem,"newid"),DataBinder.Eval(Container.DataItem,"Title")) %>' title='<%# Server.HtmlDecode(DataBinder.Eval(Container.DataItem,"summary"))%>'>
                            <img alt='' width="180px" border="0" height="120px" src='<%# iif(DataBinder.Eval(Container, "DataItem.imagepath").tostring().Contains("http://"),DataBinder.Eval(Container, "DataItem.imagepath"), DataBinder.Eval(Container, "DataItem.imagepath")) %>' />
                        </a>
                    <div class="newsTitle" style="padding-top: 3px;">
                        <a target="_blank" style="color: #242424;font-size: 12px;text-decoration: none; font-family: Arial;" href='<%# FormatURL(DataBinder.Eval(Container.DataItem,"newid"),DataBinder.Eval(Container.DataItem,"Title")) %>'><%#DataBinder.Eval(Container.DataItem, "Title")%></a>
                    </div>
                     
                </li>
            </ItemTemplate>
        </asp:Repeater>
    </div>
    </form>
</body>
</html>
